| class RIFFWaveWriterMinimal RIFF wave file writer.Visibility | Public | Extends | AudioWriter |
Public functionsvoid Dispose() | Update 64-bit size information when needed before closing the file. | Constructor RIFFWaveWriter(BinaryWriter writer, int channelCount, long length, int sampleRate, BitDepth bits) | Minimal RIFF Wave file writer. | Constructor RIFFWaveWriter(string path, int channelCount, long length, int sampleRate, BitDepth bits) | Minimal RIFF Wave file writer. | Constructor RIFFWaveWriter(BinaryWriter writer, ReferenceChannel[] channels, long length, int sampleRate, BitDepth bits) | WAVEFORMATEXTENSIBLE file writer. | Constructor RIFFWaveWriter(string path, ReferenceChannel[] channels, long length, int sampleRate, BitDepth bits) | WAVEFORMATEXTENSIBLE file writer. | void WriteBlock(float[] samples, long from, long to) | Write a block of samples. | void WriteBlock(float[][] samples, long from, long to) | Write a block of samples. | void WriteChunk(int id, byte[] data) | Append an extra chunk to the file. | void WriteHeader() | Create the file header. |
Public static functionsvoid Write(string path, float[] data, int channelCount, int sampleRate, BitDepth bits) | Export an array of samples to an audio file. | void Write(string path, float[][] data, int sampleRate, BitDepth bits) | Export an array of multichannel samples to an audio file. | void WriteForEachChannel(string path, float[] data, int channelCount, int sampleRate, BitDepth bits) | Export an audio file to be played back channel after channel. | void WriteOffset(string path, float[][] data, int sampleRate, BitDepth bits, int period = -1) | Export an audio file to be played back channel after channel. |
Public propertiesint MaxLargeChunks | The maximum number of additionally needed chunks that could surpass 4 GB. |
See also |